package com.yanzhen.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * 审核内容表
 */
@Data
public class ApplyList {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 入团申请id
     */
    private Integer  appId;
    private String content;
    private Integer  status;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date appTime;
    private Integer     appAuthor;

    @TableField(exist = true)
    private UserInfo userinfo;

}
